home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / delsel.elc.z / delsel.elc
Emacs Compiled Lisp  |  1998-10-28  |  2.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 65 72 69 6b 40 6e 61 |piled by| erik@na|
|00000020| 67 67 75 6d 2e 6e 6f 20 | 6f 6e 20 53 75 6e 20 4a |ggum.no |on Sun J|
|00000030| 61 6e 20 31 34 20 30 34 | 3a 31 39 3a 31 32 20 31 |an 14 04|:19:12 1|
|00000040| 39 39 36 0a 3b 3b 3b 20 | 66 72 6f 6d 20 66 69 6c |996.;;; |from fil|
|00000050| 65 20 2f 67 64 2f 67 6e | 75 2f 65 6d 61 63 73 2f |e /gd/gn|u/emacs/|
|00000060| 31 39 2e 30 2f 6c 69 73 | 70 2f 64 65 6c 73 65 6c |19.0/lis|p/delsel|
|00000070| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|00000080| 72 73 69 6f 6e 20 31 39 | 2e 33 30 2e 37 30 2e 36 |rsion 19|.30.70.6|
|00000090| 2e 0a 3b 3b 3b 20 62 79 | 74 65 63 6f 6d 70 20 76 |..;;; by|tecomp v|
|000000a0| 65 72 73 69 6f 6e 20 46 | 53 46 20 32 2e 31 30 0a |ersion F|SF 2.10.|
|000000b0| 3b 3b 3b 20 6f 70 74 69 | 6d 69 7a 61 74 69 6f 6e |;;; opti|mization|
|000000c0| 20 69 73 20 6f 6e 2e 0a | 3b 3b 3b 20 74 68 69 73 | is on..|;;; this|
|000000d0| 20 66 69 6c 65 20 75 73 | 65 73 20 6f 70 63 6f 64 | file us|es opcod|
|000000e0| 65 73 20 77 68 69 63 68 | 20 64 6f 20 6e 6f 74 20 |es which| do not |
|000000f0| 65 78 69 73 74 20 69 6e | 20 45 6d 61 63 73 20 31 |exist in| Emacs 1|
|00000100| 38 2e 0a 0a 28 69 66 20 | 28 61 6e 64 20 28 62 6f |8...(if |(and (bo|
|00000110| 75 6e 64 70 20 27 65 6d | 61 63 73 2d 76 65 72 73 |undp 'em|acs-vers|
|00000120| 69 6f 6e 29 0a 09 20 28 | 6f 72 20 28 61 6e 64 20 |ion).. (|or (and |
|00000130| 28 62 6f 75 6e 64 70 20 | 27 65 70 6f 63 68 3a 3a |(boundp |'epoch::|
|00000140| 76 65 72 73 69 6f 6e 29 | 20 65 70 6f 63 68 3a 3a |version)| epoch::|
|00000150| 76 65 72 73 69 6f 6e 29 | 0a 09 20 20 20 20 20 28 |version)|.. (|
|00000160| 73 74 72 69 6e 67 2d 6c | 65 73 73 70 20 65 6d 61 |string-l|essp ema|
|00000170| 63 73 2d 76 65 72 73 69 | 6f 6e 20 22 31 39 2e 32 |cs-versi|on "19.2|
|00000180| 39 22 29 29 29 0a 20 20 | 20 20 28 65 72 72 6f 72 |9"))). | (error|
|00000190| 20 22 60 64 65 6c 73 65 | 6c 2e 65 6c 27 20 77 61 | "`delse|l.el' wa|
|000001a0| 73 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 20 45 |s compil|ed for E|
|000001b0| 6d 61 63 73 20 31 39 2e | 32 39 20 6f 72 20 6c 61 |macs 19.|29 or la|
|000001c0| 74 65 72 22 29 29 0a 0a | 0a 23 40 31 36 36 20 2a |ter"))..|.#@166 *|
|000001d0| 4e 6f 6e 2d 6e 69 6c 20 | 6d 65 61 6e 73 20 44 65 |Non-nil |means De|
|000001e0| 6c 65 74 65 20 53 65 6c | 65 63 74 69 6f 6e 20 6d |lete Sel|ection m|
|000001f0| 6f 64 65 20 69 73 20 65 | 6e 61 62 6c 65 64 2e 0a |ode is e|nabled..|
|00000200| 49 6e 20 44 65 6c 65 74 | 65 20 53 65 6c 65 63 74 |In Delet|e Select|
|00000210| 69 6f 6e 20 6d 6f 64 65 | 2c 20 77 68 65 6e 20 61 |ion mode|, when a|
|00000220| 20 72 65 67 69 6f 6e 20 | 69 73 20 68 69 67 68 6c | region |is highl|
|00000230| 69 67 68 74 65 64 2c 0a | 69 6e 73 65 72 74 69 6f |ighted,.|insertio|
|00000240| 6e 20 63 6f 6d 6d 61 6e | 64 73 20 66 69 72 73 74 |n comman|ds first|
|00000250| 20 64 65 6c 65 74 65 20 | 74 68 65 20 72 65 67 69 | delete |the regi|
|00000260| 6f 6e 20 61 6e 64 20 74 | 68 65 6e 20 69 6e 73 65 |on and t|hen inse|
|00000270| 72 74 2e 1f 0a 28 64 65 | 66 76 61 72 20 64 65 6c |rt...(de|fvar del|
|00000280| 65 74 65 2d 73 65 6c 65 | 63 74 69 6f 6e 2d 6d 6f |ete-sele|ction-mo|
|00000290| 64 65 20 74 20 28 23 24 | 20 2e 20 2d 34 36 33 29 |de t (#$| . -463)|
|000002a0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 64 65 6c |).(defal|ias 'del|
|000002b0| 65 74 65 2d 61 63 74 69 | 76 65 2d 72 65 67 69 6f |ete-acti|ve-regio|
|000002c0| 6e 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 6b |n #[(&op|tional k|
|000002d0| 69 6c 6c 70 29 20 22 08 | 83 0d 00 c1 60 c2 20 5c |illp) ".|....`. \|
|000002e0| 22 88 82 12 00 60 c2 20 | 7c 88 c3 14 c5 c6 21 88 |"....`. ||.....!.|
|000002f0| c7 87 22 20 5b 6b 69 6c | 6c 70 20 6b 69 6c 6c 2d |.." [kil|lp kill-|
|00000300| 72 65 67 69 6f 6e 20 6d | 61 72 6b 20 6e 69 6c 20 |region m|ark nil |
|00000310| 6d 61 72 6b 2d 61 63 74 | 69 76 65 20 72 75 6e 2d |mark-act|ive run-|
|00000320| 68 6f 6f 6b 73 20 64 65 | 61 63 74 69 76 61 74 65 |hooks de|activate|
|00000330| 2d 6d 61 72 6b 2d 68 6f | 6f 6b 20 74 5d 20 33 5d |-mark-ho|ok t] 3]|
|00000340| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 64 65 6c |).(defal|ias 'del|
|00000350| 65 74 65 2d 73 65 6c 65 | 63 74 69 6f 6e 2d 70 72 |ete-sele|ction-pr|
|00000360| 65 2d 68 6f 6f 6b 20 23 | 5b 6e 69 6c 20 22 08 85 |e-hook #|[nil "..|
|00000370| 5f 00 09 3f 85 5f 00 5c | 6e 85 5f 00 0b 85 5f 00 |_..?._.\|n._..._.|
|00000380| 5c 66 39 85 19 00 5c 66 | c5 4e 89 1e 06 c7 3d 83 |\f9...\f|.N....=.|
|00000390| 27 00 c8 c9 21 82 5e 00 | 0e 06 ca 3d 83 43 00 60 |'...!.^.|...=.C.`|
|000003a0| cb 20 7b 0e 5c 66 40 98 | 83 3d 00 cd ce 21 88 c8 |. {.\f@.|.=...!..|
|000003b0| cf 21 82 5e 00 0e 06 d0 | 3d 83 56 00 c8 cf 21 85 |.!.^....|=.V...!.|
|000003c0| 5e 00 d1 89 14 82 5e 00 | 0e 06 85 5e 00 c8 cf 21 |^.....^.|...^...!|
|000003d0| 29 87 22 20 5b 64 65 6c | 65 74 65 2d 73 65 6c 65 |)." [del|ete-sele|
|000003e0| 63 74 69 6f 6e 2d 6d 6f | 64 65 20 62 75 66 66 65 |ction-mo|de buffe|
|000003f0| 72 2d 72 65 61 64 2d 6f | 6e 6c 79 20 74 72 61 6e |r-read-o|nly tran|
|00000400| 73 69 65 6e 74 2d 6d 61 | 72 6b 2d 6d 6f 64 65 20 |sient-ma|rk-mode |
|00000410| 6d 61 72 6b 2d 61 63 74 | 69 76 65 20 74 68 69 73 |mark-act|ive this|
|00000420| 2d 63 6f 6d 6d 61 6e 64 | 20 64 65 6c 65 74 65 2d |-command| delete-|
|00000430| 73 65 6c 65 63 74 69 6f | 6e 20 74 79 70 65 20 6b |selectio|n type k|
|00000440| 69 6c 6c 20 64 65 6c 65 | 74 65 2d 61 63 74 69 76 |ill dele|te-activ|
|00000450| 65 2d 72 65 67 69 6f 6e | 20 74 20 79 61 6e 6b 20 |e-region| t yank |
|00000460| 6d 61 72 6b 20 6b 69 6c | 6c 2d 72 69 6e 67 20 63 |mark kil|l-ring c|
|00000470| 75 72 72 65 6e 74 2d 6b | 69 6c 6c 20 31 20 6e 69 |urrent-k|ill 1 ni|
|00000480| 6c 20 73 75 70 65 72 73 | 65 64 65 20 28 6c 61 6d |l supers|ede (lam|
|00000490| 62 64 61 20 6e 69 6c 20 | 28 69 6e 74 65 72 61 63 |bda nil |(interac|
|000004a0| 74 69 76 65 29 29 5d 20 | 33 5d 29 0a 28 62 79 74 |tive))] |3]).(byt|
|000004b0| 65 2d 63 6f 64 65 20 22 | c0 c1 c2 5c 22 88 c3 c4 |e-code "|...\"...|
|000004c0| c5 c6 23 88 c3 c7 c5 c6 | 23 88 c3 c8 c5 c8 23 88 |..#.....|#.....#.|
|000004d0| c3 c9 c5 c8 23 88 c3 ca | c5 c6 23 88 c3 cb c5 cc |....#...|..#.....|
|000004e0| 23 88 c3 cd c5 cc 23 88 | c3 ce c5 cc 23 88 c3 cf |#.....#.|....#...|
|000004f0| c5 c6 23 88 c3 d0 c5 c6 | 23 88 c3 d1 c5 c6 23 88 |..#.....|#.....#.|
|00000500| d2 d3 d4 5c 22 87 22 20 | 5b 61 64 64 2d 68 6f 6f |...\"." |[add-hoo|
|00000510| 6b 20 70 72 65 2d 63 6f | 6d 6d 61 6e 64 2d 68 6f |k pre-co|mmand-ho|
|00000520| 6f 6b 20 64 65 6c 65 74 | 65 2d 73 65 6c 65 63 74 |ok delet|e-select|
|00000530| 69 6f 6e 2d 70 72 65 2d | 68 6f 6f 6b 20 70 75 74 |ion-pre-|hook put|
|00000540| 20 73 65 6c 66 2d 69 6e | 73 65 72 74 2d 63 6f 6d | self-in|sert-com|
|00000550| 6d 61 6e 64 20 64 65 6c | 65 74 65 2d 73 65 6c 65 |mand del|ete-sele|
|00000560| 63 74 69 6f 6e 20 74 20 | 73 65 6c 66 2d 69 6e 73 |ction t |self-ins|
|00000570| 65 72 74 2d 69 73 6f 20 | 79 61 6e 6b 20 63 6c 69 |ert-iso |yank cli|
|00000580| 70 62 6f 61 72 64 2d 79 | 61 6e 6b 20 69 6e 73 65 |pboard-y|ank inse|
|00000590| 72 74 2d 72 65 67 69 73 | 74 65 72 20 64 65 6c 65 |rt-regis|ter dele|
|000005a0| 74 65 2d 62 61 63 6b 77 | 61 72 64 2d 63 68 61 72 |te-backw|ard-char|
|000005b0| 20 73 75 70 65 72 73 65 | 64 65 20 62 61 63 6b 77 | superse|de backw|
|000005c0| 61 72 64 2d 64 65 6c 65 | 74 65 2d 63 68 61 72 2d |ard-dele|te-char-|
|000005d0| 75 6e 74 61 62 69 66 79 | 20 64 65 6c 65 74 65 2d |untabify| delete-|
|000005e0| 63 68 61 72 20 6e 65 77 | 6c 69 6e 65 2d 61 6e 64 |char new|line-and|
|000005f0| 2d 69 6e 64 65 6e 74 20 | 6e 65 77 6c 69 6e 65 20 |-indent |newline |
|00000600| 6f 70 65 6e 2d 6c 69 6e | 65 20 64 65 66 61 6c 69 |open-lin|e defali|
|00000610| 61 73 20 70 65 6e 64 69 | 6e 67 2d 64 65 6c 65 74 |as pendi|ng-delet|
|00000620| 65 2d 6d 6f 64 65 20 64 | 65 6c 65 74 65 2d 73 65 |e-mode d|elete-se|
|00000630| 6c 65 63 74 69 6f 6e 2d | 6d 6f 64 65 5d 20 34 29 |lection-|mode] 4)|
|00000640| 0a 23 40 31 35 30 20 54 | 6f 67 67 6c 65 20 44 65 |.#@150 T|oggle De|
|00000650| 6c 65 74 65 20 53 65 6c | 65 63 74 69 6f 6e 20 6d |lete Sel|ection m|
|00000660| 6f 64 65 2e 0a 57 68 65 | 6e 20 4f 4e 2c 20 74 79 |ode..Whe|n ON, ty|
|00000670| 70 65 64 20 74 65 78 74 | 20 72 65 70 6c 61 63 65 |ped text| replace|
|00000680| 73 20 74 68 65 20 73 65 | 6c 65 63 74 69 6f 6e 20 |s the se|lection |
|00000690| 69 66 20 74 68 65 20 73 | 65 6c 65 63 74 69 6f 6e |if the s|election|
|000006a0| 20 69 73 20 61 63 74 69 | 76 65 2e 0a 57 68 65 6e | is acti|ve..When|
|000006b0| 20 4f 46 46 2c 20 74 79 | 70 65 64 20 74 65 78 74 | OFF, ty|ped text|
|000006c0| 20 69 73 20 6a 75 73 74 | 20 69 6e 73 65 72 74 65 | is just| inserte|
|000006d0| 64 20 61 74 20 70 6f 69 | 6e 74 2e 1f 0a 28 64 65 |d at poi|nt...(de|
|000006e0| 66 61 6c 69 61 73 20 27 | 64 65 6c 65 74 65 2d 73 |falias '|delete-s|
|000006f0| 65 6c 65 63 74 69 6f 6e | 2d 6d 6f 64 65 20 23 5b |election|-mode #[|
|00000700| 28 61 72 67 29 20 22 08 | 84 09 00 09 3f 82 0e 00 |(arg) ".|....?...|
|00000710| c2 08 21 c3 56 11 c4 20 | 87 22 20 5b 61 72 67 20 |..!.V.. |." [arg |
|00000720| 64 65 6c 65 74 65 2d 73 | 65 6c 65 63 74 69 6f 6e |delete-s|election|
|00000730| 2d 6d 6f 64 65 20 70 72 | 65 66 69 78 2d 6e 75 6d |-mode pr|efix-num|
|00000740| 65 72 69 63 2d 76 61 6c | 75 65 20 30 20 66 6f 72 |eric-val|ue 0 for|
|00000750| 63 65 2d 6d 6f 64 65 2d | 6c 69 6e 65 2d 75 70 64 |ce-mode-|line-upd|
|00000760| 61 74 65 5d 20 32 20 28 | 23 24 20 2e 20 31 36 30 |ate] 2 (|#$ . 160|
|00000770| 37 29 20 22 50 22 5d 29 | 0a 23 40 31 34 39 20 41 |7) "P"])|.#@149 A|
|00000780| 62 6f 72 74 20 72 65 63 | 75 72 73 69 76 65 20 65 |bort rec|ursive e|
|00000790| 64 69 74 2e 0a 49 6e 20 | 44 65 6c 65 74 65 20 53 |dit..In |Delete S|
|000007a0| 65 6c 65 63 74 69 6f 6e | 20 6d 6f 64 65 20 6d 6f |election| mode mo|
|000007b0| 64 65 2c 20 69 66 20 74 | 68 65 20 6d 61 72 6b 20 |de, if t|he mark |
|000007c0| 69 73 20 61 63 74 69 76 | 65 2c 20 6a 75 73 74 20 |is activ|e, just |
|000007d0| 64 65 61 63 74 69 76 61 | 74 65 20 69 74 3b 0a 74 |deactiva|te it;.t|
|000007e0| 68 65 6e 20 69 74 20 74 | 61 6b 65 73 20 61 20 73 |hen it t|akes a s|
|000007f0| 65 63 6f 6e 64 20 43 2d | 67 20 74 6f 20 61 62 6f |econd C-|g to abo|
|00000800| 72 74 20 74 68 65 20 6d | 69 6e 69 62 75 66 66 65 |rt the m|inibuffe|
|00000810| 72 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6d |r...(def|alias 'm|
|00000820| 69 6e 69 62 75 66 66 65 | 72 2d 6b 65 79 62 6f 61 |inibuffe|r-keyboa|
|00000830| 72 64 2d 71 75 69 74 20 | 23 5b 6e 69 6c 20 22 08 |rd-quit |#[nil ".|
|00000840| 83 10 00 09 83 10 00 5c | 6e 83 10 00 c3 89 14 87 |.......\|n.......|
|00000850| c5 20 87 22 20 5b 64 65 | 6c 65 74 65 2d 73 65 6c |. ." [de|lete-sel|
|00000860| 65 63 74 69 6f 6e 2d 6d | 6f 64 65 20 74 72 61 6e |ection-m|ode tran|
|00000870| 73 69 65 6e 74 2d 6d 61 | 72 6b 2d 6d 6f 64 65 20 |sient-ma|rk-mode |
|00000880| 6d 61 72 6b 2d 61 63 74 | 69 76 65 20 74 20 64 65 |mark-act|ive t de|
|00000890| 61 63 74 69 76 61 74 65 | 2d 6d 61 72 6b 20 61 62 |activate|-mark ab|
|000008a0| 6f 72 74 2d 72 65 63 75 | 72 73 69 76 65 2d 65 64 |ort-recu|rsive-ed|
|000008b0| 69 74 5d 20 32 20 28 23 | 24 20 2e 20 31 39 31 39 |it] 2 (#|$ . 1919|
|000008c0| 29 20 6e 69 6c 5d 29 0a | 28 62 79 74 65 2d 63 6f |) nil]).|(byte-co|
|000008d0| 64 65 20 22 c0 09 c2 c3 | 23 88 c0 5c 66 c2 c3 23 |de "....|#..\f..#|
|000008e0| 88 c0 0d c2 c3 23 88 c0 | 0e 06 c2 c3 23 88 c0 0e |.....#..|....#...|
|000008f0| 07 c2 c3 23 88 c8 c9 21 | 87 22 20 5b 64 65 66 69 |...#...!|." [defi|
|00000900| 6e 65 2d 6b 65 79 20 6d | 69 6e 69 62 75 66 66 65 |ne-key m|inibuffe|
|00000910| 72 2d 6c 6f 63 61 6c 2d | 6d 61 70 20 22 07 22 20 |r-local-|map "." |
|00000920| 6d 69 6e 69 62 75 66 66 | 65 72 2d 6b 65 79 62 6f |minibuff|er-keybo|
|00000930| 61 72 64 2d 71 75 69 74 | 20 6d 69 6e 69 62 75 66 |ard-quit| minibuf|
|00000940| 66 65 72 2d 6c 6f 63 61 | 6c 2d 6e 73 2d 6d 61 70 |fer-loca|l-ns-map|
|00000950| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 6c 6f 63 61 | minibuf|fer-loca|
|00000960| 6c 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 6d 61 70 |l-comple|tion-map|
|00000970| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 6c 6f 63 61 | minibuf|fer-loca|
|00000980| 6c 2d 6d 75 73 74 2d 6d | 61 74 63 68 2d 6d 61 70 |l-must-m|atch-map|
|00000990| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 6c 6f 63 61 | minibuf|fer-loca|
|000009a0| 6c 2d 69 73 65 61 72 63 | 68 2d 6d 61 70 20 70 72 |l-isearc|h-map pr|
|000009b0| 6f 76 69 64 65 20 64 65 | 6c 73 65 6c 5d 20 34 29 |ovide de|lsel] 4)|
|000009c0| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+